/**
 *@mainpage Homework 4
 *@author Kassandra Coan
 *@date February 16th, 2011
 *
 *COP-1006-25423-201120
 *http://code.google.com/p/parcel-delivery-pricing/
 *
 *@brief An algorithm that will receive the weight of a parcel
 *and determine the delivery charge for that parcel. 
 *
 */

#include <stdio.h>
#include <stdlib.h>
#include "homework4Coan.h"
//#include "logic.c"
//#include "ui.c"

int main(){
    int done = 0; //done = 0 to loop; done = 1 to stop
	float parcelWeight, price;	
	
	while(!done){
		parcelWeight = getWeight();
		price = calculatePrice(parcelWeight);
		printResponse(parcelWeight, price);
		done = inquireContinuation();
	}        
	system("pause");  
}